package rmaqlc31.basic;

public class J01_FoodNara {

	public static void main(String[] args) {
		
		
		String title;
		String liner;
		int soju;
		int a;
		int chicken;
		int b;
		int sotot;
		int chitot;
		int tax;
		int surtax;
		int total;
		int pay;
		int charge;
		
		
		title = "[ 음식나라 ]";
		liner = "---------------------";
		soju = 3000;
		a = 2;
		chicken = 12000;
		b = 1;
		sotot = soju*a;
		chitot = chicken*b;
		total = sotot + chitot;
		surtax = total/10;
		tax = total - surtax;
		pay = 50000;
		charge = pay - total;
		
		
		System.out.println(title);
		System.out.println(liner);
		
		System.out.println("소주\t" + a + "\t" + sotot);
		System.out.println("너나치킨\t" + b + "\t" + chitot);
		System.out.println(liner);
		System.out.println("과세합계\t\t" + tax);
		System.out.println("부가세\t\t" + surtax);
		System.out.println(liner);
		System.out.println("총합계\t\t" + total);
		System.out.println("받은금액\t\t" + pay);
		System.out.println("잔돈\t\t" + charge);
		System.out.println(liner);
		System.out.println("2014. 07. 07 14:35:24");

		
		
		

	}

}
